import { Request, Response } from "express";
import { get, Controller } from "../decorator";

@Controller("/")
class AuthorityController {
  @get("/authorityManage")
  authShow(req: Request, res: Response) {
    res.setHeader("Content-Type", "text/html; charset=utf-8");
    res.write("管理员权限页面");
    res.write("<a href='javascript:history.back()'>返回</a>");
    res.send();
  }
}
